package cstudy;

class Demo{
    public static void main(String[] args) {
        String str = "123456";
        System.out.println(str.substring(0,5));      
    }
}